﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    namespace="Model.Borrowers"
        assembly="Model">

	<class name="Model.Borrowers.Borrower" table="Borrowers" lazy="false">

		<id name="Id" column="BorrowerId" type="guid">
			<generator class="guid" />
		</id>

    <property name="FirstName">
			<column name="FirstName" sql-type="varchar(50)" not-null="true" />
		</property>

		<property name="LastName">
			<column name="LastName" sql-type="varchar(50)" not-null="true" />
		</property>

		<property name="BirthDate">
			<column name="BirthDate" sql-type="datetime" not-null="true" />
		</property>

	</class>

</hibernate-mapping>